<h1>New user</h1>

<%= error_messages_for :user %>

<% form_for(:user, :url => users_path, :html => { :multipart => true }) do |f| %>
  Username <%= f.text_field :username %><br />
  Password <%= f.password_field :cleartext_password %><br />
  Confirmation <%= f.password_field :cleartext_password_confirmation %><br />
  E-Mail <%= f.text_field :email %><br />
  Logo <%= f.file_field :logo_file %><br />
  Agreement <%= f.check_box :terms %>

  <p>
    <%= submit_tag "Create" %>
  </p>
<% end %>

<%= link_to 'Back', users_path %>
